package edu.yzu.testspringboot002.po;

import cn.hutool.core.date.DatePattern;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 患者表
 * </p>
 *
 * @author yulang
 * @since 2023-08-18
 */
@Getter
@Setter
@ApiModel(value = "Patient对象", description = "患者表")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("患者名称")
    private String patientName;

    @ApiModelProperty("患者id")
    private String patientCode;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN,timezone = "GMT+8")
    private Date createTime;


    @ApiModelProperty("创建时间")
    private Date updateTime;

    @ApiModelProperty("身份证号码")
    private String idCard;

    @ApiModelProperty("社保号")
    private String socialNumber;

    @ApiModelProperty("0: 女  1： 男")
    private Integer gender;

    @ApiModelProperty("生日")
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date birthdy;

//    @ApiModelProperty("国籍")
//    private String nationality;
//
//    @ApiModelProperty("民族")
//    private String nation;
//
    @ApiModelProperty("既往史")
    private String residenceAddress;


    private Integer doctorId;

    private String doctorName;


    @ApiModelProperty("疾病")
    private String disease;


    @ApiModelProperty("疾病描述")
    private String introduction;


    @ApiModelProperty("0:未归档 1：已归档")
    private Integer status;

    private String baseImage;

    private String inspectionReport;

    private String shadowImage;

    private String shadowVideo;

    @ApiModelProperty("医院名称")
    private String hospital;

    private Integer age;

}
